package com.slfx.open.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: slfx
 * @Date: 2022-10-01
 * @Description:
 **/
@Data
@TableName("open_interface")
@ApiModel(value = "OpenInterface对象", description = "")
public class OpenInterface implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("请求方式GET OR POST")
    private String requestMethod;

    @ApiModelProperty("post请求类型 json  , form")
    private String requestPostType;

    @ApiModelProperty("请求地址")
    private String requestUrl;

    @ApiModelProperty("请求尾url")
    private String requestTailUrl;

    @ApiModelProperty("请求属性")
    private String requestAttributeJson;

    @ApiModelProperty("接口并发数")
    private Integer concurrentNum;

    @ApiModelProperty("用户一天调用量")
    private Integer userCallCount;

    private Date createTime;

    private Date updateTime;


}
